/**
 * 
 */
package View;

import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;

/**
 * @author enzo
 *
 */
public class Menu extends JMenuBar {
	private JMenu sort;
	private JMenuItem alpha,group;
	
	/**
	 * 
	 */
	public Menu()
	{
		sort=new JMenu("Sort");
		alpha=new JMenuItem("A-Z");
		group=new JMenuItem("Group");
		sort.add(alpha);
		sort.add(group);
		this.add(sort);
	}

	/**
	 * @return the alpha
	 */
	public JMenuItem getAlpha() {
		return alpha;
	}

	/**
	 * @return the group
	 */
	public JMenuItem getGroup() {
		return group;
	}

}
